﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using Handrise.Mobile.BasicModal.DataLayer;

namespace Handrise.CDCable.Mobile.Business
{
    /// <summary>
    /// 巡视日志
    /// </summary>
    [Serializable]
    [EntityMapping(TableName = "PatrolLog")]
    public class PatrolLog
    {
        [EntityMapping(IsKey = true, ColumnName = "PatrolLogID")]
        public string PatrolLogID { get; set; }

        /// <summary>
        /// 对应的巡视计划
        /// </summary>
        [EntityMapping(ColumnName = "PlanID")]
        public string PlanID { get; set; }

        /// <summary>
        /// 日志时间
        /// </summary>
        [EntityMapping(ColumnName = "LogDateTime")]
        public DateTime? LogDateTime { get; set; }

        /// <summary>
        /// 用户名
        /// </summary>
        [EntityMapping(ColumnName = "UserName")]
        public string UserName { get; set; }

        /// <summary>
        /// 上报状态
        /// </summary>
        [EntityMapping(ColumnName = "ReportState")]
        public string ReportState { get; set; }
    }
}
